/*用户权限*/
module.exports = {
	authority: function(authorityCode, templateFunc) {
		if (authorityCode) {
			if (authorityCode == 5) {
				window.location.href = "declareManage.html";
			} else if (authorityCode == 2) {
				window.location.href = "login.html";
			}
		} else {
			templateFunc();
		}
	}
}